import {QMFetch} from 'qm-ux';

/**
 * 查询订单设置
*/
export const getSetup = () => QMFetch({url:'/order/tool', method: 'GET'})

/**
 * 保存订单设置
 */
export const saveSetup = (params) => {
  return QMFetch({url:'/order/tool', method: 'POST', body: params})
}

/**
 * 保存订单选项设置
 */

export const saveOptionsSetup = (params) => {
  return QMFetch({url:'/order/tool/options', method: 'POST', body: params})
}